package com.xiaobo.framework.common.exception;

/**
 * @author: <a href="get_xiaobo@163.com">Josh_Xu</a>
 * @description:
 * @create: 2020-08-18 14:04
 **/
public class BizException extends RuntimeException{

    /**
     * 普通异常
     */
    public BizException() {
    }

    /**
     * 业务异常
     * @param message
     */
    public BizException(String message) {
        super(message);
    }

    /**
     * 业务堆栈异常
     * @param message
     * @param cause
     */
    public BizException(String message, Throwable cause) {
        super(message, cause);
    }

    public BizException(Throwable cause) {
        super(cause);
    }

    public BizException(String message, Throwable cause, boolean enableSuppression,
                        boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
